class speechSyntises {
    speech  = window.speechSynthesis
    stop(){
        this.speech.cancel()
    }
    say(text: string){
        let utterance = new SpeechSynthesisUtterance(text)
        this.speech.speak(utterance)
    }
}
export default new speechSyntises()